package com.ctgu.A1_4;

public enum STATUS {
    //订单状态(status)包括CREATE、PAID、SHIPPING、DELIVERED、CANCEL五种状态
    CREATE("已创建"),
    PAID("已付款"),
    SHIPPING("已发货"),
    DELIVERED("已送达"),
    CANCEL("已取消");

    private String name;

    STATUS(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
